package cqie.personal.frame.bo;

import java.util.List;

public class AddModifyUserBO {
    private String id;
    private String userAccount;
    private String userPassword;
    private String userPhone;
    private String userName;
    private String userImg;
    private Integer userSex;
    private Boolean userAbandon;
    private List<Integer> characterId;
    private Integer uid;
    private Integer userRole;

    public Integer getUserRole() {
        return userRole;
    }

    public void setUserRole(Integer userRole) {
        this.userRole = userRole;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        if(!userPhone.equals("")) {
            if(!userPhone.replace(" ","").equals("")){
                this.userPhone = userPhone;
            }
        }
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        if(!userImg.equals(""))
        this.userImg = userImg;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public Boolean getUserAbandon() {
        return userAbandon;
    }

    public void setUserAbandon(Boolean userAbandon) {
        this.userAbandon = userAbandon;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        if(!userAccount.equals("")) {
            if(!userAccount.replace(" ","").equals("")) {
                this.userAccount = userAccount;
            }
        }
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        if(!userPassword.equals("")) {
            if(!userPassword.replace(" ","").equals("")) {
                this.userPassword = userPassword;
            }
        }
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        if(!userName.equals("")) {
            if(!userName.replace(" ","").equals(""))
            this.userName = userName;
        }
    }

    public List<Integer> getCharacterId() {
        return characterId;
    }

    public void setCharacterId(List<Integer> characterId) {
        this.characterId = characterId;
    }
}
